package com.yshkj.payment.dto;

/**
 * 基础JsonDto
 * Created by 唐旭 on 2016/9/27.
 */
public abstract class JsonBaseDto {
    protected boolean state = false;
    protected String message = "";

    public JsonBaseDto() {
    }

    public JsonBaseDto(boolean state) {
        this.state = state;
    }

    public boolean isState() {
        return state;
    }

    public JsonBaseDto setState(boolean state) {
        this.state = state;
        return this;
    }

    public String getMessage() {
        return message;
    }

    public JsonBaseDto setMessage(String message) {
        this.message = message;
        return this;
    }
}
